package com.pactera.asmp.server.service;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.multipart.MultipartFile;

import com.pactera.asmp.server.entity.ResponseResult;
import com.pactera.asmp.server.entity.UseCaseInfoSearchDTO;
import com.pactera.asmp.server.pojo.UseCaseInfo;
import com.pactera.asmp.server.utils.PageDataResult;

public interface UseCaseService {

    PageDataResult select(UseCaseInfoSearchDTO useCaseInfoSearchDTO);

    UseCaseInfo insert(UseCaseInfo useCaseInfo);

    boolean update(UseCaseInfo useCaseInfo);

    boolean delete(Long id);

    ResponseResult importUseCases(MultipartFile file);

    ResponseResult useCaseDetail(Long id);

    void export(UseCaseInfoSearchDTO useCaseInfoSearchDTO, HttpServletResponse response);

    void exportModel(HttpServletResponse response);

}
